//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package com.ruoyi.live.base.domain;

import com.baomidou.mybatisplus.annotation.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;
import java.util.List;

public class LiveExam implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(
            value = "id",
            type = IdType.AUTO
    )
    private Long id;
    private Integer state;
    private Long createTime;
    private Long createUser;
    @TableField(value = "exam_name", condition = SqlCondition.LIKE)
    private String examName;
    @TableField(value = "exam_desc", condition = SqlCondition.LIKE)
    private String examDesc;
    private String examStartTime;
    private Integer examDuration;
    @TableField(value = "exam_image_url", condition = SqlCondition.LIKE)
    private String examImageUrl;
    @TableField(value = "exam_content", condition = SqlCondition.LIKE)
    private String examContent;
    @TableField(value = "exam_score_policy", condition = SqlCondition.LIKE)
    private String examScorePolicy;
    private Integer examType;
    private Long taskId;
    @TableField(
            exist = false
    )
    private Integer leuState;
    @TableField(
            exist = false
    )
    private Long leuId;
    @TableField(
            exist = false
    )
    private Integer duration;
    @TableField(
            exist = false
    )
    List<LiveExamTask> tasks;

    public LiveExam() {
    }

    public Long getId() {
        return this.id;
    }

    public Integer getState() {
        return this.state;
    }

    public Long getCreateTime() {
        return this.createTime;
    }

    public Long getCreateUser() {
        return this.createUser;
    }

    public String getExamName() {
        return this.examName;
    }

    public String getExamDesc() {
        return this.examDesc;
    }

    public String getExamStartTime() {
        return this.examStartTime;
    }

    public Integer getExamDuration() {
        return this.examDuration;
    }

    public String getExamImageUrl() {
        return this.examImageUrl;
    }

    public String getExamContent() {
        return this.examContent;
    }

    public String getExamScorePolicy() {
        return this.examScorePolicy;
    }

    public Integer getExamType() {
        return this.examType;
    }

    public Long getTaskId() {
        return this.taskId;
    }

    public Integer getLeuState() {
        return this.leuState;
    }

    public Long getLeuId() {
        return this.leuId;
    }

    public Integer getDuration() {
        return this.duration;
    }

    public List<LiveExamTask> getTasks() {
        return this.tasks;
    }

    public LiveExam setId(final Long id) {
        this.id = id;
        return this;
    }

    public LiveExam setState(final Integer state) {
        this.state = state;
        return this;
    }

    public LiveExam setCreateTime(final Long createTime) {
        this.createTime = createTime;
        return this;
    }

    public LiveExam setCreateUser(final Long createUser) {
        this.createUser = createUser;
        return this;
    }

    public LiveExam setExamName(final String examName) {
        this.examName = examName;
        return this;
    }

    public LiveExam setExamDesc(final String examDesc) {
        this.examDesc = examDesc;
        return this;
    }

    public LiveExam setExamStartTime(final String examStartTime) {
        this.examStartTime = examStartTime;
        return this;
    }

    public LiveExam setExamDuration(final Integer examDuration) {
        this.examDuration = examDuration;
        return this;
    }

    public LiveExam setExamImageUrl(final String examImageUrl) {
        this.examImageUrl = examImageUrl;
        return this;
    }

    public LiveExam setExamContent(final String examContent) {
        this.examContent = examContent;
        return this;
    }

    public LiveExam setExamScorePolicy(final String examScorePolicy) {
        this.examScorePolicy = examScorePolicy;
        return this;
    }

    public LiveExam setExamType(final Integer examType) {
        this.examType = examType;
        return this;
    }

    public LiveExam setTaskId(final Long taskId) {
        this.taskId = taskId;
        return this;
    }

    public LiveExam setLeuState(final Integer leuState) {
        this.leuState = leuState;
        return this;
    }

    public LiveExam setLeuId(final Long leuId) {
        this.leuId = leuId;
        return this;
    }

    public LiveExam setDuration(final Integer duration) {
        this.duration = duration;
        return this;
    }

    public LiveExam setTasks(final List<LiveExamTask> tasks) {
        this.tasks = tasks;
        return this;
    }

    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("state", getState())
                .append("createTime", getCreateTime())
                .append("createUser", getCreateUser())
                .append("examName", getExamName())
                .append("examDesc", getExamDesc())
                .append("examStartTime", getExamStartTime())
                .append("examDuration", getExamDuration())
                .append("examImageUrl", getExamImageUrl())
                .append("examContent", getExamContent())
                .append("examScorePolicy", getExamScorePolicy())
                .append("taskId", getTaskId())
                .append("examType", getExamType())
                .toString();
    }
}
